package com.ljl.ssm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ljl.ssm.pojo.Collection;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BaoZhou
 * @since 2019-07-07
 */
public interface ICollectionService extends IService<Collection> {
    public  int insert(Collection collection);
    public  int select(int userid,int productid);
    public  int delete(int userid,int productid);
    public PageInfo selectAll(int user_id,int pn);
}
